/*
 * @Description: 认证
 * @Author: franktrue 807615827@qq.com
 * @Date: 2021-08-02 08:39:42
 * @LastEditTime: 2021-08-02 10:18:21
 */
package dao

import (
	"github.com/franktrue/blog-service/internal/model"
)

func (d *Dao) GetAuth(appKey, appSecret string) (model.Auth, error) {
	auth := model.Auth{AppKey: appKey, AppSecret: appSecret}
	return auth.Get(d.engine)
}
